package com.wdf.statemachine.service;

import com.wdf.statemachine.entity.Order;

import java.util.Map;

/**
 * @Author wengdianfeng
 * @Date 2024/7/8 下午2:07
 */
public interface OrderService {
    public Order creat();
    public Order pay(int id);
    public Order deliver(int id);
    public Order receive(int id);
    public Map<Integer, Order> getOrders();
}
